/*
 * Copyright (c) 2016 zhangcm. All Rights Reserved.
 */
package com.jnzc.ocr.serv.shop.service;

import com.jnzc.ocr.common.bean.PageResult;
import com.jnzc.ocr.dependencies.serv.mybatis.MybatisService;
import com.jnzc.ocr.serv.shop.entity.ShopMember;
import com.jnzc.ocr.serv.shop.filter.ShopMemberFilter;

import java.math.BigDecimal;

/**
 * @author zhangcm
 * @version 1.0, 2017/9/13
 */
public interface ShopMemberService extends MybatisService<ShopMember, ShopMemberFilter> {

    ShopMember find(Long id, Long shopId);

    void delete(Long id);

    void update(ShopMember member, BigDecimal changeBalanceAmount, Integer changePoint, BigDecimal changeConsumeAmount);

    void update(ShopMember member, BigDecimal changeBalanceAmount, Integer changePoint, BigDecimal changeConsumeAmount, Boolean doUpdate);
}
